<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="main_center_right_nav"><span>系统设置>>资源管理 >> 资源信息查询</span></div>
<div class="main_center_right_content">
<div style="padding:30px;">
<div style="height:24px;line-height:24px;text-align:center;font-size:24px;">资源信息查询</div><br />
<s:form action="systemActionDo" method="post" id="form">
<s:if test='FLAG=="EDIT"'>
	<input type="hidden" name="res.resid" value="${res.resid}" />
</s:if>	
<table class="table_box table_all_border" cellspacing="0" cellpadding="0">
	<tr><td align="right" style="width:40%"><span class="need">*</span>资源名</td><td><input type="text" name="res.resname" value="${res.resname}"/></td></tr>
	<tr><td align="right"><span class="need">*</span>资源连接</td><td><input type="text" name="res.reslink" value="${res.reslink}"/></td></tr>
	<tr><td align="right"><span class="need">*</span>启用</td><td>
	<input type="radio" name="res.enabled" value="true" <s:if test='res.enabled'>checked="checked"</s:if> />启用
	<input type="radio" name="res.enabled" value="false" <s:if test='!res.enabled'>checked="checked"</s:if> />关闭</td></tr>
	<tr><td align="right">描述</td><td><input type="text" name="res.resdesc" value="${res.resdesc}"/></td></tr>
	<tr><td align="right">排序</td><td><input type="text" name="res.priority" value="${res.priority}"/></td></tr>
</table>
</div>
<div id="button_area">
<s:if test='FLAG=="EDIT"'>
	<s:submit name="resedit" value="提交" method="resedit"/>
</s:if><s:elseif test='FLAG=="ADD"'>
	<s:submit name="addressave" value="提交" method="ressave"/>
</s:elseif>
</div>       
</s:form>
